
using System;
using System.Collections.Generic;
using UnityEngine;

using ActionSystem.Core;
using XMLib;

namespace ActionSystem.Core
{
    /// <summary>
    /// MachineConfig：全局配置文件
    /// </summary>
    [Serializable]
    public class MachineConfig
    {        
        public Type defualtStateType=typeof(BaseState);

        [StateUID]
        [CustomLabel("初始状态")]
        public int firstStateID=-1;
        //状态组
        public List<StateGroup> groups = new List<StateGroup>();
        //保存的状态数据
        public List<StateItem> states = new List<StateItem>();

        //默认状态
        [SerializeReference]
        public List<BasePassiveActionConfig> passiveActions = new List<BasePassiveActionConfig>();
    }
}